package com.ddl.eurekaclient.responsibilityMode.elementary;

public class HaveBreakfastFilter extends AbstractPrepareFilter {

	public HaveBreakfastFilter(AbstractPrepareFilter nextPrepareFilter) {
		super(nextPrepareFilter);
	}

	@Override
	public void prepare(PreparationList preparationList) {
		if (preparationList.isHaveBreakfast()) {
			System.out.println("吃早餐");
		}

	}

}
